package com.shuziren.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.apache.logging.log4j.message.Message;

@Data
public class SelectInterviewPositionDto {
    //职位名称
    private String positionName;
    //所属部门
    private String department;
    //职位级别(低级,中级,高级)
    private String positionLevel;
    //职位状态(1待招聘,2已关闭,3招聘中)
    private Integer status;
    //当前页数
    @NotNull(message = "pageNum不能为空")
    @Min(value = 1,message = "pageNum不能小于1")
    private Integer pageNum;
    //每页显示数量
    @NotNull(message = "pageSize不能为空")
    @Min(value = -1,message = "pageSize不能小于5")
    private Integer pageSize;
}